package com.gpf.marketing.service;


import com.gpf.marketing.pojo.entity.AdvManage;
import com.gpf.marketing.pojo.vo.AdvMaVo;
import com.gpf.marketing.pojo.vo.AdvPoVo;
import com.seventh.common.pojo.R;

public interface AdvManageService {
//    R selectAdvManage(Integer pageSize, Integer currentPage, AdvMaVo advMaVo);
    R insertAdvManage(AdvManage advManage);
    R updateAdvManage(AdvManage advManage);
    R deleteById(Integer id);
    R selectById(Integer id);

    //唯一性校验
    R selectOneName(AdvManage advManage);
    //更改状态
    R upStatus(Integer id,Integer status);
    //关联位置表查name
    R findName(Integer pageSize, Integer currentPage, AdvMaVo advMaVo);

    R getAdvList();
}
